<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/comm/control.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<mine:css href="login.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<mine:script src="/mine/validate.js"/>
<script type="text/javascript">
	//var message = decodeURIComponent('<s:property value="#parameters.message"/>');
	$(function(){
		$("input").bind("focus", function(){
			$("#message").hide();
		});
		$("form").bind("submit", function(){
			
		});
		$("form").validate();
	});
</script>
</head>
<body>
	<s:form action="login" namespace="/" cssStyle="width:100%; margin-top:15%;">
		<table align="center" width="100%">
			<s:if test='#parameters.message != null && #parameters.message != ""'>
				<tr><td align="center" colspan="2" style="color: red;" id="message">${param.message }</td></tr>
			</s:if>
			<tr>
				<td align="right" width="50%">
					<s:text name="UI-00002"></s:text>
				</td>
				<td align="left">
					<input type="text" name="username">
				</td>
			<tr>
			<tr>
				<td align="right">
					<s:text name="UI-00003"></s:text>
				</td>
				<td align="left">
					<input type="password" name="password">
				</td>
			<tr>
			<tr>
				<td>
				</td>
				<td align="left" style="padding-left: 20px;">
					<input type="submit" value='<s:text name="UI-00004"></s:text>' class="btn">
				</td>
			<tr>
		</table>
	</s:form>
</body>
</html>